Skip to content

Use issue-specific professional acknowledgement in org bot comments#3

Merged
0x5t4l1n merged 1 commit into
mainfrom
copilot/fix-issue-posting-error
Apr 22, 2026
Merged

Use issue-specific professional acknowledgement in org bot comments#3
0x5t4l1n merged 1 commit into
mainfrom
copilot/fix-issue-posting-error

Conversation

Copilot AI commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

Issue openings were not receiving the intended professional acknowledgement text. The workflow now differentiates message content by event type so issues get a review-oriented response while PR behavior remains unchanged.

  • Problem addressed

    • The bot comment text for issue submissions did not reflect the intended “we will review and get back” wording in a professional form.
  • Workflow change

    • Updated .github/workflows/org-bot.yml in Post welcome comment to choose message text based on context.eventName.
    • Removed static BOT_MESSAGE env usage for this step and generated the message inline in script logic.
  • Behavior after change

    • issues event: posts an issue-specific professional acknowledgement.
    • pull_request event: keeps the existing contribution acknowledgement.
const message =
  context.eventName === "issues"
    ? "👋 Thank you for opening this issue. We will review it and get back to you soon. — th30d4y"
    : "👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y";

@github-actions

Copy link
Copy Markdown

👋 Hello! Thanks for your contribution. We will review this and get back to you as soon as possible. — th30d4y

@0x5t4l1n 0x5t4l1n marked this pull request as ready for review April 22, 2026 21:54
@0x5t4l1n 0x5t4l1n merged commit 1eb805f into main Apr 22, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants